//颜色标识
//检测vue文件中css存在的颜色
//生成替换标识
const mainColor = "#3258de";
const mainHover = "#4a6ce2";
const mainPress = "#2d4fc9";
const mouseOver = "#eaeefb";
const mousePress = "#d6def8";

const helpColor = "#32bfde";
const helpHover = "#3fd4f4";
const helpPress = "#19bed3";

const raise = "#ff4d4f";
const fall = "#52c41a";

const fontColor = "#303133";
const fontHead = "#606266";
const fontHelp = "#909399";
const fontDisabled = "#90939966";
const fontLink = "#3258de";
const fontLinkClicked = "#6f85b4";

const primaryColor = "#3258de";
const successColor = "#52c41a";
const dangerColor = "#ff8e0d";
const warningColor = "#ff4d4f";

const primaryBackground = "#EAEEFB";
const successBackground = "#EDF9E8";
const dangerBackground = "#FFF3E6";
const warningBackground = "#FFEDED";

const guideBackground = "#f5f6fb";
const navigateBackground = "#ffffff";
const navigateSecondBackground = "#ffffff";

const containerBackgound = "#f5f6fb";

const navigateTreeBackground = "#ffffff";

const contentCard = "#ffffff";

const buttonBackground = "#ffffff";
const inputBackground = "#ffffff";
const datepickerBackground = "#ffffff";
const buttonPopBackground = "#ffffff";
const linearBackground = "linear-gradient( #ffffff, #f5f6fb);";

const lightBorderColor = "#eaeefb";

const scrollBackground = "#c0c4cc";

const navigateTreeCardBackground = "#eaeefb";

const cardShadow = "#30313333";

const dialogShadow = "#3258de26";

const heavyBorderColor = "#d6def8";

const dialogBackground = "#f5f6fb";

exports.getVariable = () => {
  return `
@mainColor: ${mainColor};
@mainHover: ${mainHover};
@mainPress: ${mainPress};
@mouseOver: ${mouseOver};
@mousePress: ${mousePress};

@helpColor: ${helpColor};
@helpHover: ${helpHover};
@helpPress: ${helpPress};

@raise: ${raise};
@fall: ${fall};

@fontColor: ${fontColor};
@fontHead: ${fontHead};
@fontHelp: ${fontHelp};
@fontDisabled: ${fontDisabled};
@fontLink: ${fontLink};
@fontLinkClicked: ${fontLinkClicked};


@primaryColor: ${primaryColor};
@successColor: ${successColor};
@dangerColor: ${dangerColor};
@warningColor: ${warningColor};


@primaryBackground: ${primaryBackground};
@successBackground: ${successBackground};
@dangerBackground: ${dangerBackground};
@warningBackground: ${warningBackground};


@guideBackground: ${guideBackground};
@navigateBackground: ${navigateBackground};
@navigateSecondBackground: ${navigateSecondBackground};

@containerBackgound: ${containerBackgound};

@navigateTreeBackground: ${navigateTreeBackground};

@contentCard: ${contentCard};


@buttonBackground: ${buttonBackground};
@inputBackground: ${inputBackground};
@datepickerBackground: ${datepickerBackground};
@buttonPopBackground: ${buttonPopBackground};
@linearBackground: ${linearBackground};

@lightBorderColor: ${lightBorderColor};

@scrollBackground: ${scrollBackground};

@navigateTreeCardBackground: ${navigateTreeCardBackground};

@cardShadow: ${cardShadow};

@dialogShadow: ${dialogShadow};

@heavyBorderColor: ${heavyBorderColor};

@dialogBackground: ${dialogBackground};
`;
};
